package cn.wolfcode.service;

import cn.wolfcode.domain.SeckillProduct;
import cn.wolfcode.domain.SeckillProductVo;

import java.util.List;


public interface ISeckillProductService {
    List<SeckillProductVo> selectByTime(Integer time);

    List<SeckillProductVo> queryByTime(Integer time);

    //查询商品详情
    SeckillProductVo find(Integer time, Long seckillId);

    //扣库存
    void decrStockCount(SeckillProductVo seckillProductVo);

}
